package com.zz.dao;

import com.zz.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface UserMapper {

    @Insert("insert into user_info (username,password) values(#{username},#{password})")
    int insertUser(@Param("username") String username, @Param("password") String  password);

}
